var index = new Vue({
  el: '#index',

  data () {
    return {
      formdata:{name:'',phone:'',remarks:''}
    }
  },
  watch:{

　},
  mounted:function(){
    //this.test()
  },
  methods:{
    dataRequest(){
      var _this = this
      axios({
        method: 'POST',
        url: base_url+'/test',
        params: {"name":_this.formdata.name,"phone":_this.formdata.phone,"remarks":_this.formdata.remarks},
        responseType: 'json',
      }).then(function(result){
        console.log(result);
      })


    }
  }
});
